protectedDataDidBecomeAvailable
Type
message
Summary
Sent when the device is unlocked and protected data files are available again.
Syntax
protectedDataDidBecomeAvailable
Description
Handle the protectedDataDidBecomeAvailable message if you want to reopen connections to files that have been protected using the iphoneFileDataProtection function when the device is unlocked.
The protectedDataDidBecomeAvailable message is sent to the current card of the default stack when the device is locked.
Examples
on protectedDataDidBecomeAvailable
-- Reconnect to databases
-- Reopen file connection
end protectedDataDidBecomeAvailable
Related
command: iphoneSetFileDataProtection, iphoneSetDoNotBackupFile
function: iphoneFileDataProtection, iphoneDoNotBackupFile
message: protectedDataWillBecomeUnavailable
Compatibility and Support
Introduced
LiveCode 5.5.1
OS
ios
Platforms
mobile